using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class pages_Facility : PagedPage
{
    #region properties
    public override string RequestString
    {
        get { return "Facility.aspx?page="; }
    }
    #endregion
    protected void Page_Load(object sender, EventArgs e)
    {

        FacilityDAO daoFac = new FacilityDAO();
        try
        {
            int cate_id = int.Parse(Request["cate_id"]);
            pageSize=20;
            rptFacility.DataSource = daoFac.GetFacilitiesAdv(1, pageSize, ref totals, "%", cate_id, 0, 999999999,ServiceObject.Published);
            rptFacility.DataBind();
        }
        catch (Exception ex)
        {
        }
    }
}
